package cn.itcast.rnk.oop.ext_impl;
import java.util.*;
import java.util.stream.*;
import java.lang.*;

public interface Deck {

	List<Card> getCards();
	Deck deckFactory();
	int size();
	void addCard(Card card);
	void addCards(List<Card> cards);
	void addDeck(Deck deck);
	void shuffle();
	void sort();
	void sort(Comparator<Card> c);
	String deckToString();

	Map<Integer, Deck> deal(int players, int numberOfCards)
			throws IllegalArgumentException;

}